package com.hnbtr.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hnbtr.param.TeacherParam;
import com.hnbtr.pojo.Class;
import com.hnbtr.pojo.Teacher;

public interface TeacherDao {
	void addTeacher(Teacher teacher);
	void updateTeacher(Teacher teacher);
	List<Teacher> findTeacherByInfo(@Param("tp") TeacherParam teacher_param);
	List<Teacher> findTeacherByClassInfo(Class cls);
	List<Teacher> findTeacherWithParam(@Param("tp") TeacherParam teacher_param);
	Integer getTeacherRowCount();
}
